package net.borderwars.util;

import java.util.*;

/**
 * @author Eric
 *         Date: Feb 2, 2003
 *         Time: 9:33:54 PM
 */
public class TreeMapOfSets<Key, Value> extends MapOfCollection {
    protected Collection<Value> getCollection () {
        return (new HashSet<Value> ());
    }

    protected Map<Key, Value> getMap () {
        return (new TreeMap<Key, Value> ());
    }

    public Set<Value> getKeySet () {
        Set<Value> rtn = super.data.keySet ();
        return (rtn);
    }

    public Set getSet (Key key) {
        return (Set) super.getItems (key);
    }

    public Map getData () {
        return (data);
    }
}
